﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Entities
{
    /// <summary>
    /// used in the hover tooltip and MostActiveUsers report
    /// </summary>
    public class UserSummary
    {
        private string _userName;
        private string _lastAction;
        private IEnumerable<string> _mostUsedMachines;

        public string UserName
        {
            get { return _userName ?? string.Empty; }
            set { _userName = value; }
        }

        public string LastAction
        {
            get { return _lastAction ?? string.Empty; }
            set { _lastAction = value; }
        }

        public int? NumberOfFiles { get; set; }

        public IEnumerable<string> MostUsedMachines
        {
            get { return _mostUsedMachines ?? new string[] { }; }
            set { _mostUsedMachines = value; }
        }

    }
}